package com.example.dynamicschedule.dao;

import com.example.dynamicschedule.bean.IamGroup;
import org.apache.ibatis.annotations.MapKey;
import org.springframework.stereotype.Repository;

import java.util.Map;
@Repository
public interface IamGroupMapper {
    int deleteByPrimaryKey(String id);

    int insert(IamGroup record);

    int insertSelective(IamGroup record);

    IamGroup selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(IamGroup record);

    int updateByPrimaryKey(IamGroup record);
    @MapKey("zh_code")
    Map<String, Map<String,String>> selectByCode();
}